


/* toggle image form */
#image-form {
  display: block;
}

#new-image-btn{
  font-size: 16px;            
}

button:hover{
  background-color: #005fa3;  
}

/* add image form section*/
#add-image {
  animation: slideInLeft 1s ease-out forwards;
  display: flex;
  width: fit-content;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;

  background: whitesmoke;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#image-form input {
  padding: 8px;
  margin-right: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#image-form button:hover {
  background: #005fa3;
}



/*sliding animation*/

@keyframes slideInLeft {
  from {
    transform: translateX(-200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(+200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInTop {
  from {
    transform: translateY(-200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInBot {
  from {
    transform: translateY(+200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}